home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 4.9 KB | 124 lines | [TEXT/MPS ] |
- /*
- File: PCCardTuples.idl
-
- Contains: List of PCMCIA tuple types and definitions of tuple contents.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __PCCARDTUPLES_IDL__
- #define __PCCARDTUPLES_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- /*
- ————————————————————————————————————————————————————————————————————————
- Defines for Tuple codes
- ————————————————————————————————————————————————————————————————————————
- */
- /*
- ————————————————————————————————————————————————————————————————————————
- Tuple Data Block Definitions
- ————————————————————————————————————————————————————————————————————————
- */
- /*------------ Device Information Tuple (01H, 17H) ----------- */
- typedef SOMLargeStruct DeviceIDTuple; /* Derived from a struct of 254 bytes in size */
-
- /* device ID types*/
- /*--------------- Checksum Control Tuple (10H) --------------- */
- typedef SOMLargeStruct ChecksumControlTuple; /* Derived from a struct of 6 bytes in size */
-
- /*---------------- Long Link Multi-Function Tuple (06H) ------ */
- typedef SOMLargeStruct LongLinkMFCTuple; /* Derived from a struct of 11 bytes in size */
-
- /*---------------- Long Link Tuple (11H, 12H) ---------------- */
- typedef SOMFourByteStruct LongLinkTuple; /* Derived from a struct of 4 bytes in size */
-
- /*----------------- Link Target Tuple (13H) ------------------ */
- typedef SOMLargeStruct LinkTargetTuple; /* Derived from a struct of 3 bytes in size */
-
- /*---------------- Level 1 Version Tuple (15H) --------------- */
- typedef SOMLargeStruct Level1VersionTuple; /* Derived from a struct of 3 bytes in size */
-
- /*------------- JEDEC Identifier Tuple (18H, 19H) ------------ */
- typedef SOMTwoByteStruct JEDECDeviceInfo; /* Derived from a struct of 2 bytes in size */
-
- typedef SOMTwoByteStruct JEDECIdentifierTuple; /* Derived from a struct of 2 bytes in size */
-
- /*--------- Configuration Tuple (1AH) ---------- */
- typedef SOMFourByteStruct ConfigTuple; /* Derived from a struct of 4 bytes in size */
-
- /* TPCC_RADR field definitions*/
- /*--------- Device Geometry Tuple (1EH, 1FH) ----------*/
- typedef SOMLargeStruct DeviceGeometry; /* Derived from a struct of 6 bytes in size */
-
- typedef SOMLargeStruct DeviceGeometryTuple; /* Derived from a struct of 252 bytes in size */
-
- /*--------- Manufacturer Identification Tuple (20H) ---------- */
- typedef SOMFourByteStruct ManufIDTuple; /* Derived from a struct of 4 bytes in size */
-
- /*----------- Function Identification Tuple (21H) ------------ */
- typedef SOMTwoByteStruct FunctionIDTuple; /* Derived from a struct of 2 bytes in size */
-
- /* function codes*/
- /*------------ Software Interleave Tuple (23H) --------------- */
- typedef SOMLargeStruct SoftwareInterleaveTuple; /* Derived from a struct of 1 bytes in size */
-
- /*------- Level 2 Version and Information Tuple (40H) -------- */
- typedef SOMLargeStruct Level2VersionTuple; /* Derived from a struct of 12 bytes in size */
-
- /*
- -------------------- Format Tuple (41H) --------------------
- additional information for disk type:
- */
- typedef SOMLargeStruct FormatDiskTuple; /* Derived from a struct of 10 bytes in size */
-
- /* additional information for disk type:*/
- typedef SOMLargeStruct FormatMemTuple; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMLargeStruct FormatTuple; /* Derived from a struct of 30 bytes in size */
-
- /* format types*/
- /* error detection types*/
- /* bits in TPLFMT_FLAGS*/
- /*------------------ Geometry Tuple (42H) -------------------- */
- typedef SOMFourByteStruct GeometryTuple; /* Derived from a struct of 4 bytes in size */
-
- /*----------------- Byte-Order Tuple (43H) ------------------- */
- typedef SOMTwoByteStruct ByteOrderTuple; /* Derived from a struct of 2 bytes in size */
-
- /* byte order codes*/
- /* byte mapping codes*/
- /*---------- Card Initialization Date Tuple (44H) ------------ */
- typedef SOMFourByteStruct CardInitDateTuple; /* Derived from a struct of 4 bytes in size */
-
- /*---------- Battery-Replacement Date Tuple (45H) ------------ */
- typedef SOMFourByteStruct BatteryReplaceDateTuple; /* Derived from a struct of 4 bytes in size */
-
- /*---------------------- General Tuple ----------------------- */
- typedef SOMLargeStruct TupleBody; /* Derived from a struct of 838 bytes in size */
-
- typedef SOMLargeStruct Tuple; /* Derived from a struct of 256 bytes in size */
-
-
- #endif /* __SOMIDL__ */
-
- #endif /* __PCCARDTUPLES_IDL__ */
-
-